home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1994.11.gz
/
1994.11
/
000051_tim@maths.tcd.ie_Sun Nov 6 19:15:20 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-11-30
|
1KB
Received: from salmon.maths.tcd.ie by cs.umb.edu with SMTP id AA07475
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sun, 6 Nov 1994 19:15:20 -0500
Received: from hamilton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP
id aa11838; 7 Nov 94 0:05 GMT
Subject: Re: Problem with basename
To: Nicolai Langfeldt <janl@math.uio.no>
Date: Mon, 7 Nov 1994 00:05:34 (GMT)
From: Timothy Murphy <tim@maths.tcd.ie>
Cc: tex-k@cs.umb.edu
In-Reply-To: <9411062242.AA01292@gilgamesj> from "Nicolai Langfeldt" at Nov 6, 94 11:42:14 pm
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 647
Message-Id: <9411070005.aa26429@hamilton.maths.tcd.ie>
>
> Ah yes. What you do is put
>
> #if 0
>
> and
>
> #endif
>
> around the definition of basename in the lib.h file in the kpathsea
> directory (line 98 :-). This has the effect of commenting out the
> line.
This seems rather unwise to me.
It means you are taking the prototype for Karl's basename()
from that for a completely different (and unknown) function in string.h.
It is the basename() in string.h you want to get rid of,
eg by saying
#define basename bname
just before string.h, and
#undef basename
just after.
It was perhaps unwise of Karl to choose a name ("basename")
which might easily turn up in a header file.